package org.spring.core.jdbc;

import java.util.Date;


public class User {
	Long id;
	String firstName;
	String lastName;
	Date birthDate;
	Date createdOn;
	public User(String firstName,String lastName,Date birthDate) {
		this.firstName = firstName;
		this.lastName = lastName;
		this.birthDate = birthDate;
	}
	
	public User() {
	}

	public void setId(Long id) {
		this.id = id;
	}
	public void setCreatedOn(Date createdOn) {
		this.createdOn = createdOn;
	}
	
	public Date getBirthDate() {
		return birthDate;
	}
	
	public Date getCreatedOn() {
		return createdOn;
	}
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public Long getId() {
		return id;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", firstName=" + firstName + ", lastName="
				+ lastName + ", birthDate=" + birthDate + ", createdOn="
				+ createdOn + "]";
	}
	
}
